package cn.tedu.ximart.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class CategoryAddNewDTO implements Serializable {
    @ApiModelProperty(value = "分类数据id",required = true)
    private Long id;

    @ApiModelProperty(value = "分类名称",required = true)
    private String name;

    @ApiModelProperty(value = "分类父级id",required = true)
    private Long parentId;

    @ApiModelProperty(value = "分类深度",required = true)
    private Integer depth;

    @ApiModelProperty(value = "分类关键词",required = true)
    private String keywords;

    @ApiModelProperty(value = "分类排序值",required = true)
    private Integer sort;

    @ApiModelProperty(value = "分类图标",required = true)
    private String icon;

    @ApiModelProperty(value = "分类是否启用",required = true)
    private Integer enable;

    @ApiModelProperty(value = "分类是否为父类分类",required = true)
    private Integer isParent;

    @ApiModelProperty(value = "分类是否",required = true)
    private Integer isDisplay;


}
